Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(agent): don't duplicate cointerface_enabled field in deployment agent configmaps #1299

Merged
merged 2 commits into from
Aug 21, 2023

Conversation

aroberts87
Copy link
Collaborator

What this PR does / why we need it:

The value cointerface_enabled: true is hardcoded into the deployment agent's configmap by design, but if the value were overridden in sysdig.settings the field would end up being duplicated when the deployment configmap blindly rendered out that block. This fix addresses that issue by omitting that key when rendering the set of values from the sysdig.settings block.

Checklist

[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

  • Title of the PR starts with type and scope, (e.g. feat(agent,node-analyzer,sysdig-deploy):)
  • Chart Version bumped for the respective charts
  • Variables are documented in the README.md (or README.tpl in some charts)
  • Check GithubAction checks (like lint) to avoid merge-check stoppers
  • All test files are added in the tests folder of their respective chart and have a "_test" suffix

Check Contribution guidelines in README.md for more insight.

@aroberts87 aroberts87 self-assigned this Aug 16, 2023
@aroberts87 aroberts87 requested a review from a team as a code owner August 16, 2023 14:56
aroberts87 and others added 2 commits August 21, 2023 08:41
… agent configmaps

The value `cointerface_enabled: true` is hardcoded into the deployment agent's configmap
by design, but if the value were overridden in `sysdig.settings` the field would end up
being duplicated when the deployment configmap blindly rendered out that block. This fix
addresses that issue by omitting that key when rendering the set of values from the
`sysdig.settings` block.
@aroberts87 aroberts87 force-pushed the fix/cointerface_enabled_duplication branch from 9413b74 to 4e9fefa Compare August 21, 2023 12:41
@aroberts87 aroberts87 merged commit 877a0bb into master Aug 21, 2023
5 checks passed
@aroberts87 aroberts87 deleted the fix/cointerface_enabled_duplication branch August 21, 2023 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants